package com.myslef.teaching_platfrom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.myslef.teaching_platfrom.domain.StudentCourse;
import com.myslef.teaching_platfrom.domain.users.User;
import com.myslef.teaching_platfrom.mapper.StudentCourseMapper;
import com.myslef.teaching_platfrom.service.StudentCourseService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentCourseServiceImpl extends ServiceImpl<StudentCourseMapper, StudentCourse> implements StudentCourseService {
    public List<User> getStudentList(Integer id){
        return baseMapper.getStudentList(id);
    }

}
